<template>
    <view class="plate" v-if="pageData">
        <titleBox title="领取记录"></titleBox>
        <view class="rows p-top24">
            <view class="list" v-if="pageData.v_name">
                <text class="name">分享人:</text>
                <text class="content">{{ pageData.v_name }}</text>
            </view>
            <view class="list" v-if="pageData.v_tel">
                <text class="name">电话:</text>
                <text class="content">{{ pageData.v_tel }}</text>
            </view>
            <view class="list" v-if="pageData.give_time">
                <text class="name">领取时间:</text>
                <text class="content">{{ pageData.give_time }}</text>
            </view>
        </view>
    </view>
</template>

<script>
    import titleBox from '@/subCard/components/titleBox.vue';
    export default {
        props: ['pageData'],
        components: {
            titleBox
        },
        data() {
            return {
                imgUrl: this.imgUrl
            };
        },
        methods: {}
    };
</script>

<style lang="scss" scoped>
    .plate {
        width: 690rpx;
        margin: 0 auto;
        background-color: #ffffff;
        padding: 20rpx;
        border-radius: 10rpx;
        margin-top: 24rpx;
        .list {
            width: 100%;
            display: flex;
            align-items: center;
            margin-bottom: 14rpx;
            .name {
                width: 120rpx;
                text-align: right;
                color: #666;
                font-size: 26rpx;
                margin-right: 16rpx;
            }
            .content {
                color: #000;
                font-size: 28rpx;
            }
        }
    }
</style>
